/**
 * 路径写成 xx/xxx 是方便对着路由找文件路径
 */

//404
 const notFound = {
    path: '*',
    name: '404',
    component: () => import('../views/404.vue')
}

// 首页
// scientific      科研办公
// ranks           科研队伍
// courses         学科建设
// project         科研项目
// funds           科研经费
// achievements    科研成果
// academic        学术活动
// system          系统维护
// integrated      综合办公
// personal        个人资料
// roleManagement   权限

import * as home from './home'
import * as scientific from './scientific' 
import * as ranks from './ranks'   
import * as project from './project'
import * as funds from './funds'
import * as achievements from './achievements'
import * as academic from './academic'
import * as system from './system'
import * as integrated from './integrated'
import * as personal from './personal'      
import * as roleManagement from './roleManagement'
import * as holdoffice from './holdoffice'
import * as subject from './subject'

const routeInfo = {
    notFound,
    ...home,
    ...scientific,
    ...ranks,
    ...project,
    ...funds,
    ...achievements,
    ...academic,
    ...system,
    ...integrated,
    ...personal,
    ...roleManagement,
    ...holdoffice,
    ...subject
}
export default routeInfo